package com.blb.community.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.community.entity.ZyBuilding;
import com.blb.community.entity.vo.BuildingVo;
import com.blb.community.mapper.ZyBuildingMapper;
import com.blb.community.service.IZyBuildingService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 楼栋  服务实现类
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
@Service
public class ZyBuildingServiceImpl extends ServiceImpl<ZyBuildingMapper, ZyBuilding> implements IZyBuildingService {

    @Autowired
    private ZyBuildingMapper buildingMapper;

    @Override
    public IPage<ZyBuilding> selectBuildingPage(IPage<ZyBuilding> page, BuildingVo buildingVo) {
        return buildingMapper.selectBuildingPage(page,buildingVo);
    }
}
